package day9;

import java.io.File;

/**
 * @author oldliu
 * @since 1.0
 */
public class FileTest2 {
    public static void main(String[] args) throws Exception{
        File f=new File("E:/hadoop-2.7.3/include/../bin/container-executor");
        System.out.println(f.getAbsolutePath());
        //真实目录
        System.out.println(f.getCanonicalFile().getAbsolutePath());
        System.out.println("size:"+f.length());
    }
}
